<?php if ( ! defined('BASEPATH')) exit('This file does not run directly. Sorry.'); ?>
<?php
/**
 * Kalaisoo.
 *
 * A lightweight no-framework framework written in PHP.
 *
 * @package Kalaisoo
 * @author $Author: info@sah-company.com $
 */
?>
<?php
/**
 * Include the partial template that holds doctype, html, head with metas and such.
 */
$this->view('shared/head');
?>	
<?php
/**
 * Include the partial template that holds the navigation.
 */
$this->view('shared/toolbar');
?>
	
<?php
/**
 * Include the partial template that holds the admin pages sidebar.
 */
$this->view('admin/aside');
?>

	<article class="main">
		<header>
<?php echo textile(__('admin_header_index')); ?>
		</header>
		<section>
<?php echo textile(__('admin_section')); ?>
		</section>
		<section>
			<pre><?php print_r($_SESSION['permissions']); ?></pre>
		</section>
	</article>
<?php
/**
 * Include the partial template that closes all tags opened in @see views/shared/head.
 */
$this->view('shared/foot');
?>